package com.anlu.cloud.manager.service;

import com.anlu.cloud.common.Page;
import com.anlu.cloud.mail.Mail;

import java.util.Map;

public interface MailService {
    void saveMail(Mail mail);

    void updateMail(Mail mail);

    void sendMail(Mail mail);

    Mail findById(Long id);

    Page<Mail> findMails(Map<String, Object> params);
}
